Organizing information with collapsed sections

您所在的位置:网站首页 inside comment Organizing information with collapsed sections

Organizing information with collapsed sections

2023-12-15 20:44| 来源: 网络整理| 查看: 265

Creating a collapsed section

You can temporarily obscure sections of your Markdown by creating a collapsed section that the reader can choose to expand. For example, when you want to include technical details in an issue comment that may not be relevant or interesting to every reader, you can put those details in a collapsed section.

Any Markdown within the block will be collapsed until the reader clicks to expand the details.

Within the block, use the tag to let readers know what is inside. The label appears to the right of .

Tips for collapsed sections ### You can add a header You can add text within a collapsed section. You can add an image or a code block, too. ```ruby puts "Hello World" ```

The Markdown inside the label will be collapsed by default:

After a reader clicks , the details are expanded:

Further reading GitHub Flavored Markdown Spec "Basic writing and formatting syntax"


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3